package day215;

public class Switch {
    public static void main(String[] args) {
        /*
        int a=8;
        switch(a){
            case 1:
                System.out.println(111);
                break;
            case 2:
                System.out.println(222);
                break;
            case 3:
                System.out.println(333);
                break;
            default:
                System.out.println(555);
        }

        int num=1;
        switch(num){
            case 1:
                System.out.println(11);
                break;
            case 2:
                System.out.println(22);
                break;
            case 3:
                System.out.println(33);
                break;
            default:
                System.out.println(66);
        }

        Scanner scan= new Scanner(System.in);
        System.out.println("请选择功能:1.存款 2.取款 3.转账 4.退出");
        int command = scan.nextInt();

        switch (command){
            case 1:
                System.out.println("存款业务...");
            case 2:
                System.out.println("取款业务...");
            case 3:
                System.out.println("转账业务...");
            case 4:
                System.out.println("退出成功...");
            default:
                System.out.println("输入错误");

         */























    }
}
